package com.example.guavaSrudy.BasicEvent.simple;

import com.google.common.eventbus.DeadEvent;

import java.util.Date;

/**
 * 订阅demo
 */
public class TradeAccountEvent{

    private double amount;
    private Date tradeExecutionTime;
    private TradeType tradeType;
    private TradeAccount tradeAccount;

    public TradeAccountEvent(double amount, Date tradeExecutionTime, TradeType tradeType, TradeAccount tradeAccount) {
        this.amount = amount;
        this.tradeExecutionTime = tradeExecutionTime;
        this.tradeType = tradeType;
        this.tradeAccount = tradeAccount;

    }
}
